package com.beordie.version_2.mvc;

import java.lang.reflect.Method;
import java.util.regex.Pattern;

/**
 * @Description url 映射
 * @Date 2022/2/17 9:51
 * @Created 30500
 */
public class BODHandlerMapping {
    private Object controller;
    protected Method method;
    protected Pattern url;

    public BODHandlerMapping(Method method, Object controller, Pattern url) {
        this.controller = controller;
        this.method = method;
        this.url = url;
    }

    public Object getController() {
        return controller;
    }

    public Method getMethod() {
        return method;
    }

    public Pattern getUrl() {
        return url;
    }
}
